package myhibernate;

/**
 * TComplaint entity. @author MyEclipse Persistence Tools
 */

public class TComplaint implements java.io.Serializable {

	// Fields

	private Integer complaintId;
	private TResident TResident;
	private TPropertyDepartment TPropertyDepartment;
	private String complaintDetails;

	// Constructors

	/** default constructor */
	public TComplaint() {
	}

	/** full constructor */
	public TComplaint(TResident TResident, TPropertyDepartment TPropertyDepartment, String complaintDetails) {
		this.TResident = TResident;
		this.TPropertyDepartment = TPropertyDepartment;
		this.complaintDetails = complaintDetails;
	}

	// Property accessors

	public Integer getComplaintId() {
		return this.complaintId;
	}

	public void setComplaintId(Integer complaintId) {
		this.complaintId = complaintId;
	}

	public TResident getTResident() {
		return this.TResident;
	}

	public void setTResident(TResident TResident) {
		this.TResident = TResident;
	}

	public TPropertyDepartment getTPropertyDepartment() {
		return this.TPropertyDepartment;
	}

	public void setTPropertyDepartment(TPropertyDepartment TPropertyDepartment) {
		this.TPropertyDepartment = TPropertyDepartment;
	}

	public String getComplaintDetails() {
		return this.complaintDetails;
	}

	public void setComplaintDetails(String complaintDetails) {
		this.complaintDetails = complaintDetails;
	}

}